package com.idanchuang.support.etcache;

/**
 * @author yjy
 * Created at 2021/12/21 11:10 上午
 */
public abstract class AbstractCache<K, V> implements Cache<K, V> {

    protected final String cacheName;
    protected final EtCacheManager manager;

    public AbstractCache(EtCacheManager manager, String cacheName) {
        this.manager = manager;
        this.cacheName = cacheName;
    }

    public EtCacheManager getManager() {
        return manager;
    }

    public String getCacheName() {
        return cacheName;
    }
}
